package com.zhdl.instruction;

import com.project.command.faq.event.behavior.BehaviorPerform;
import com.project.command.instruction.bo.SingleInstruction;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 指令执行service
 *
 * @Description:
 * @author: liu zhenming
 * @date: 2023/7/14 15:29
 */
@Slf4j
@Service
public class ExecuteInstructionServiceImpl implements ExecuteInstructionService {


    @Resource
    private BehaviorPerform behaviorPerform;


    /**
     * 执行通信指令
     *
     * @param
     */
    @Override
    public void perform(SingleInstruction instruction) {

        behaviorPerform.perform(instruction);
    }


}
